.banner{
    position: relative;
    width: 100%;
    height: 360px;
    margin-top: 30px;
    border-radius: 24px;
    background-image: url('/static/home/img/new/index/banner-bg.jpg');
    background-repeat: no-repeat;
    background-position: -60px -60px;
}
.banner::after{
    content: '';
    display: block;
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -10px;
    height: 100px;
    border-radius: 24px;
    background-color: rgba(186, 164, 147, .4);
    z-index: -1;
}
.banner>div{
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}
.banner-txt{
    display: block;
    position: absolute;
    top: 74px;
    left: 100px;
}
.banner-btmtxt{
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
}
.banner-list{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 460px;
    box-sizing: border-box;
    padding: 40px 40px 0 200px;
    background-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.4)50%);
}
.banner-list>h2{
    font-family: 'DYfont';
    font-size: 30px;
    line-height: 1;
    color: #fff;
}
.banner-list>h2 span{
    color: var(--color-red);
}
.banner-list-a{
    margin-top: 25px;
}
.banner-list-a a{
    display: block;
    box-sizing: border-box;
    padding: 15px 0;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    transition: all .3s;
}
.banner-list-a a span{
    font-weight: bold;
    color: var(--color-yellow);
}
.banner-list-a a:hover{
    transform: translateX(4px);
    color: var(--color-red);
}


/* 今日推荐 */
.jrtj{
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    margin-top: 50px;
}
.jrtj>img{
    display: block;
    position: absolute;
    left: 0;
    top: 20px;
}
.jrtj-content{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 14px 60px 14px 305px;
    width: 100%;
    height: 120px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 30px rgba(246,145,145,.3);
}
.jrtj-swiper{
    width: 100%;
    height: 100%;
}
.jrtj-swiper .swiper-slide{
    overflow: hidden;
}
.jrtj-list-l{
    float: left;
    width: 460px;
}
.jrtj-list-r{
    float: right;
    width: 460px;
}
.jrtj-swiper .news-list{
    padding: 15px 0;
}


/* 教育资讯\学习方法 */
.jyxx{
    width: 100%;
    margin-top: 80px;
}
.jyxx-tit p{
    font-family: 'DYfont';
    font-size: 48px;
    line-height: 1;
    color: #222;
    text-align: center;
}
.jyxx-tit p span{
    color: var(--color-red);
}
.jyxx-tit>img{
    display: block;
    margin: 10px auto 0;
}
.jyxx-content{
    width: 100%;
    margin-top: 50px;
}
.jyxx-l{
    float: left;
    width: 600px;
}
.jyxx-ll{
    float: left;
    width: 290px;
    margin-top: 20px;
}
.jyxx-lr{
    float: right;
    width: 290px;
    margin-top: 20px;
}
.jyxx-l-mimg,
.jyxx-l-bimg{
    position: relative;
    display: block;
    width: 100%;
    height: 190px;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 30px 60px 24px 24px;
}
.jyxx-l-bimg{
    height: 400px;
}
.jyxx-ll .jyxx-l-mimg:nth-child(n+2),
.jyxx-lr .jyxx-l-mimg:nth-child(n+2){
    margin-top: 20px;
}
.jyxx-list-date{
    display: flex;
    align-items: center;
    position: absolute;
    left: 24px;
    bottom: 24px;
}
.jyxx-l-bimg .jyxx-list-date{
    flex-direction: column;
    align-items: flex-start;
}
.jyxx-list-date span:first-child{
    display: block;
    width: 50px;
    height: 24px;
    border-radius: 12px;
    background-color: var(--color-red);
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #fff;
    margin-right: 15px;
}
.jyxx-list-date span:last-child{
    display: block;
    font-size: 14px;
    line-height: 1;
    color: #999;
}
.white .jyxx-list-date span:last-child{
    color: #fff;
    opacity: .6;
}
.jyxx-l-bimg .jyxx-list-date span:last-child{
    margin-top: 12px;
}
.jyxx-r{
    float: right;
    width: 760px;
}
.jyxx-sort-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}
.jyxx-sort-list a{
    position: relative;
    display: block;
    width: 144px;
    height: 60px;
    margin-top: 10px;
    border-radius: 10px;
    background-color: #f5f5f5;
    overflow: hidden;
}
.jyxx-sort-list a p{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 60px;
    text-align: center;
    color: #222;
    z-index: 1;
    transition: all .2s;
}
.jyxx-sort-list a p span{
    display: block;
    font-size: 24px;
    color: var(--color-red);
    margin-right: 15px;
    transition: all .2s;
}
.jyxx-sort-list a::after{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: var(--color-red);
    transition: all .3s;
    z-index: 0;
}
.jyxx-sort-list a:hover p,
.jyxx-sort-list a:hover p span{
    color: #fff;
}
.jyxx-sort-list a:hover::after{
    width: 160px;
    height: 160px;
}
.jyxx-list{
    margin-top: 40px;
}
.jyxx-list .list-sortDate{
    margin-top: 12px;
    overflow: hidden;
}
.jyxx-list .list-sortDate>a:nth-child(odd){
    float: left;
    width: 350px;
}
.jyxx-list .list-sortDate>a:nth-child(even){
    float: right;
    width: 350px;
}



/* 话题 */
.ht-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 80px;
}
.jyxxht{
    width: 680px;
    position: relative;
    border-radius: 20px;
    background-color: #fff8f7;
    box-sizing: border-box;
    padding: 30px 0 25px;
}
.jyxxht::after{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 60px;
    top: -6px;
    left: 0;
    border-radius: 26px;
    background-color: #ff8d8d;
    z-index: -1;
}
.jyxxht-tit{
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 30px;
}
.jyxxht-tit>p{
    font-size: 24px;
    font-weight: bold;
    color: #222;
    line-height: 1;
}
.jyxxht-tit>p span{
    color: var(--color-red);
}
.jyxxht-tit-switch{
    display: flex;
    align-items: center;
}
.jyxxht-tit-switch>span{
    display: block;
    margin-right: 20px;
    font-size: 16px;
    line-height: 1;
    color: #999;
}
.jyxxht-tit-switch>a{
    display: block;
    font-size: 16px;
    line-height: 1;
    color: #999;
    padding-right: 15px;
}
.jyxxht-tit-switch>a:last-child{
    padding-left: 15px;
    padding-right: 0;
    border-left: 1px solid #ddd;
}
.jyxxht-tit-switch .opt{
    color: var(--color-green);
}
.jyxxht-list{
    margin-top: 25px;
    width: 100%;
    height: 290px;
    overflow: hidden;
}
.jyxxht-list-new a,
.jyxxht-list-hot a{
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 15px 30px;
}
.jyxxht-list-new a p,
.jyxxht-list-hot a p{
    font-size: 18px;
    line-height: 1;
    color: #333;
    flex: 1;
    padding-right: 15px;
}
.jyxxht-list-new a p span{
    font-weight: bold;
    color: var(--color-yellow);
}
.jyxxht-list-hot a p span{
    margin-right: 6px;
    color: var(--color-red);
}
.jyxxht-list-new a>span,
.jyxxht-list-hot a>span{
    display: block;
    font-size: 14px;
    line-height: 1;
    color: #999;
}
.jyxxht-list-new a:hover,
.jyxxht-list-hot a:hover{
    background-color: var(--color-red);
}
.jyxxht-list a:hover p,
.jyxxht-list a:hover p span,
.jyxxht-list a:hover>span{
    color: #fff;
}


/* 家长寄语 */
.jzqz{
    width: 100%;
    margin-top: 80px;
}
.jzjy{
    float: left;
    width: 680px;
}
.jzjy-content{
    margin-top: 20px;
}
.jzjy-swiper{
    float: left;
    width: 400px;
    border-radius: 20px;
    transition: all .2s;
}
.jzjy-swiper-img{
    display: block;
    width: 100%;
    height: 240px;
    background-position: -10px -10px;
    background-repeat: no-repeat;
}
.jzjy-swiper-info{
    position: relative;
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    padding: 25px 20px 25px 24px;
    background-color: #f5f5f5;
}
.jzjy-swiper-info>a{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.jzjy-swiper-info>a p{
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: #222;
    line-height: 1;
    padding-right: 20px;
}
.jzjy-swiper-info>a span{
    display: block;
    font-size: 18px;
    line-height: 1;
    color: var(--color-red);
}
.jzjy-swiper-info>a:hover p{
    color: var(--color-red);
}
.jzjy-swiper-info>span{
    display: block;
    position: absolute;
    left: 24px;
    bottom: 25px;
    font-size: 14px;
    line-height: 1;
    color: #999;
}
.swiper-updown{
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
}
.swiper-updown>div{
    position: static;
    margin: 0;
    font-size: 14px;
    line-height: 1;
    color: var(--color-red);
    width: auto;
    height: auto;
}
.swiper-updown>div::after{
    display: none;
}
.swiper-updown>.swiper-button-prev{
    padding-right: 15px;
    border-right: 1px solid #ddd;
}
.swiper-updown>.swiper-button-next{
    padding-left: 15px;
}
.jzjy-r{
    float: right;
    width: 260px;
}
.jzjy-r-img{
    border-radius: 20px;
    height: 170px;
}
.jzjy-r-img:nth-child(n+2){
    margin-top: 20px;
}



/* 孩子特长 */
.hztc{
    width: 100%;
    margin-top: 80px;
}
.hztc-l{
    float: left;
    width: 980px;
}
.hztc-l-content{
    margin-top: 20px;
}
.hztc-ll{
    float: left;
    width: 400px;
}
.hztc-img{
    height: 160px;
    border-radius: 20px;
}
.hztc-img:nth-child(n+2){
    margin-top: 20px;
}
.hztc-lr{
    float: right;
    width: 540px;
}
.hztc-lr-first{
    width: 100%;
    padding: 10px 0 30px;
    border-bottom: 1px dashed #ddd;
}
.hztc-lr-first>a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    transition: all .2s;
}
.hztc-lr-first>a h2{
    flex: 1;
    margin-right: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    transition: all .2s;
}
.hztc-lr-first>a span{
    display: block;
    font-size: 18px;
    line-height: 1;
    color: var(--color-red);
}
.hztc-lr-first>a:hover{
    padding-left: 4px;
}
.hztc-lr-first>a:hover h2{
    color: var(--color-red);
}
.hztc-lr-first>p{
    font-size: 14px;
    line-height: 24px;
    color: #999;
    margin: 15px 0 -5px;
}
.hztc-lr-first-date{
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.hztc-lr-first-date>p{
    font-size: 14px;
    line-height: 1;
    color: #999;
}
.hztc-lr-list{
    margin-top: 18px;
}
.hztc-lr-list .list-sortDate-date .sort{
    color: var(--color-green);
}
.hztc-r{
    float: right;
    width: 380px;
}
.hztc-sort{
    margin-top: 20px;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 20px;
    background-color: #f5f5f5;
    overflow: hidden;
}
.hztc-sort-a{
    position: relative;
    display: block;
    float: left;
    width: 160px;
    height: 60px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.hztc-sort-a:nth-child(even){
    float: right;
}
.hztc-sort-a:nth-child(n+3){
    margin-top: 20px;
}
.hztc-sort-a p{
    position: relative;
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 60px;
    color: #333;
    box-sizing: border-box;
    padding: 0 20px;
    z-index: 1;
    transition: all .3s;
}
.hztc-sort-a p span:first-child{
    display: block;
    margin-right: 8px;
}
.hztc-sort-a p span:last-child{
    margin-left: auto;
    color: #bbb;
    transition: all .2s;
}
.hztc-sort-a::after{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: all .3s;
    background-color: var(--color-red);
    z-index: 0;
}
.hztc-sort-a:hover p,
.hztc-sort-a:hover p:last-child span{
    color: #fff;
}
.hztc-sort-a:hover::after{
    width: 170px;
    height: 170px;
}



/* 作业辅导 */
.zyfd{
    width: 100%;
    margin-top: 80px;
}
.zyfd-sort{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.zyfd-sort-content{
    width: 335px;
    height: 396px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.06);
    transition: all .2s;
    overflow: hidden;
}
.zyfd-sort-content:hover{
    transform: translateY(-6px);
}
.zyfd-sort-tit{
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}
.zyfd-sort-tit h2{
    position: relative;
    font-family: 'DYfont';
    font-size: 36px;
    text-align: center;
    padding-top: 50px;
    color: #fff;
    z-index: 1;
}
.zyfd-sort-tit a{
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    color: #fff;
    margin-top: 15px;
    z-index: 1;
}
.zyfd-sort-tit a:hover{
    text-decoration: underline;
}
.zyfd-sort-tit::before,
.zyfd-sort-tit::after{
    content: '';
    display: block;
    position: absolute;
    font-family: "DYfont";
    font-size: 100px;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    opacity: .06;
    z-index: 0;
}
.zyfd-sort-tit::before{
    top: -20px;
    left: -20px;
}
.zyfd-sort-tit::after{
    bottom: -30px;
    right: -20px;
}
.ywtit{
    background-image: linear-gradient(to top, #9fe100, #00bca8);
}
.ywtit::before{
    content: 'YU';
}
.ywtit::after{
    content: 'WEN';
}
.sxtit{
    background-image: linear-gradient(to top, #ff9d2a, #ff5c36);
}
.sxtit::before{
    content: 'SHU';
}
.sxtit::after{
    content: 'XUE';
}
.wltit{
    background-image: linear-gradient(to top, #08c5a4, #0765e5);
}
.wltit::before{
    content: 'WU';
}
.wltit::after{
    content: 'LI';
}
.hxtit{
    background-image: linear-gradient(to top, #d956ff, #ff2a57);
}
.hxtit::before{
    content: 'YING';
}
.hxtit::after{
    content: 'YU';
}
.zyfd-sort-list{
    margin-top: 18px;
}
.zyfd-sort-list a{
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 1;
    color: #333;
}
.zyfd-sort-list a span{
    font-weight: bold;
    color: var(--color-yellow);
}
.zyfd-sort-list a .iconfont{
    color: var(--color-red);
    margin-right: 6px;
}
.zyfd-sort-list a:hover{
    background-color: #f5f5f5;
    color: var(--color-red);
}
.zyfd-sort-list a:hover span{
    color: var(--color-red);
}


